﻿#region File and License Information
/*
<File>
	<License>
		Copyright © 2009 - 2017, Daniel Vaughan. All rights reserved.
		This file is part of Calcium (http://calciumsdk.net), 
		which is released under the MIT License.
		See file /Documentation/License.txt for details.
	</License>
	<CreationDate>2013-05-07 16:49:52Z</CreationDate>
</File>
*/
#endregion

using Outcoder.Messaging;

namespace Outcoder.ApplicationModel
{
	public class ApplicationLifeCycleMessage : PayloadMessageBase<ApplicationLifeCycleState>
	{
		//		public ApplicationLifeCycleState State { get; private set; }
		//
		//		public ApplicationLifeCycleMessage(ApplicationLifeCycleState state)
		//		{
		//			State = state;
		//		}

		public ApplicationLifeCycleState State
		{
			get
			{
				return Payload;
			}
		}

		public ApplicationLifeCycleMessage(ApplicationLifeCycleState payload) : base(payload)
		{
			/* Intentionally left blank. */
		}

		public bool FastResumeExpired { get; set; }
	}
}